projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
420763e
)
prepare-root: Don't be strict about the sysroot mount name here
author
Colin Walters
<walters@verbum.org>
Tue, 9 Jul 2013 16:04:02 +0000
(12:04 -0400)
committer
Colin Walters
<walters@verbum.org>
Tue, 9 Jul 2013 16:04:02 +0000
(12:04 -0400)
While the systemd integration effectively requires /sysroot, it will
help people trying to use OSTree with other initramfs systems
(e.g. initramfs-tools) if we don't hardcode that requirement in this
tool.
src/switchroot/ostree-prepare-root.c
patch
|
blob
|
history
diff --git
a/src/switchroot/ostree-prepare-root.c
b/src/switchroot/ostree-prepare-root.c
index 72172dc859e874c6380d58e692e1a5c8c3e8206b..cc885d3c3946044ca2a784cd5239a684eb4e128c 100644
(file)
--- a/
src/switchroot/ostree-prepare-root.c
+++ b/
src/switchroot/ostree-prepare-root.c
@@
-100,11
+100,6
@@
main(int argc, char *argv[])
}
root_mountpoint = argv[1];
- if (strcmp (root_mountpoint, "/sysroot") != 0)
- {
- fprintf (stderr, "ostree-prepare-root: Expected /sysroot\n");
- exit (1);
- }
ostree_target = parse_ostree_cmdline ();
if (!ostree_target)